package com.sc.pattern.pc;

import java.util.Queue;

/**
 * Created  on 2018/1/13.
 *
 * @author sc
 */
public class Client {
    public static void main(String[] args) {
        final MessageQueue queue= new MessageQueue(100);
        new Producer(queue).start();
        new Consumer(queue).start();
        new Consumer(queue).start();
        new Consumer(queue).start();
    }
}
